<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Title</title>
</head>
<body>
<script>
	function *show(){
		// function* show(){}
	    // function * show(){}
		alert("a");
		yield ;//放弃
		alert("b");
	}
	let genObj = show();
		genObj.next();
		genObj.next();
</script>
</body>
</html>